IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'SectionUpdate')
	BEGIN
		DROP  Procedure  SectionUpdate
	END

GO

CREATE Procedure SectionUpdate
@SectionID int,
@ImagePath nvarchar(150),
@Body nText,
@AccessID int,
@IsPrivate int
AS
Update ChapterSection
Set
ImagePath = @ImagePath,
Body = @Body,
AccessID = @AccessID,
IsPrivate = @IsPrivate,
LastUpated  = GetDate()
Where SectionID =@SectionID
GO


